const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.avatar,
  userId: state => state.user.userInfo.id,
  name: state => state.user.userInfo.username,
  menuType: state => state.user.menuType,
  epName: state => state.user.userInfo.enterpriseName,
  epId: state => state.user.userInfo.enterpriseId,
  sysRole: state =>state.user.userInfo.sysrole
}
export default getters
